package com.example.webdemo.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SpecialClassification {
    private Integer id;

    private String title;

    private Integer specialStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getSpecialStatus() {
        return specialStatus;
    }

    public void setSpecialStatus(Integer specialStatus) {
        this.specialStatus = specialStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "SpecialClassification{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", specialStatus=" + specialStatus +
                ", createTime=" + createTime +
                '}';
    }
}